if ("serviceWorker" in navigator) {
  window.addEventListener("load", () => {
    navigator.serviceWorker.register("sw.js", {
      // scope: "/paint-board/",
    });
  });
}
